package com.tms.domain;

import java.util.Date;
import java.util.Vector;

/**
 * 采购记录表单类
 *
 * @author sxy
 */
public class Bill {

    private int id;

    private String billNo;

    private Vector<Tool> tool;

    private User subPerson;

    private User firstPerson;

    private User secondPerson;

    private Date subTime;

    private Date firstTime;

    private Date secondTime;

    private Status status;

    private String image;

    private int count;

    public Bill() {
    }

    public Bill(String billNo, Vector<Tool> tool, User subPerson, User firstPerson, User secondPerson, Date subTime, Date firstTime, Date secondTime, Status status, String image, int count) {
        this.billNo = billNo;
        this.tool = tool;
        this.subPerson = subPerson;
        this.firstPerson = firstPerson;
        this.secondPerson = secondPerson;
        this.subTime = subTime;
        this.firstTime = firstTime;
        this.secondTime = secondTime;
        this.status = status;
        this.image = image;
        this.count = count;
    }

    public Bill(int id, String billNo, Vector<Tool> tool, User subPerson, User firstPerson, User secondPerson, Date subTime, Date firstTime, Date secondTime, Status status, String image, int count) {
        this.id = id;
        this.billNo = billNo;
        this.tool = tool;
        this.subPerson = subPerson;
        this.firstPerson = firstPerson;
        this.secondPerson = secondPerson;
        this.subTime = subTime;
        this.firstTime = firstTime;
        this.secondTime = secondTime;
        this.status = status;
        this.image = image;
        this.count = count;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public Vector<Tool> getTool() {
        return tool;
    }

    public void setTool(Vector<Tool> tool) {
        this.tool = tool;
    }

    public User getSubPerson() {
        return subPerson;
    }

    public void setSubPerson(User subPerson) {
        this.subPerson = subPerson;
    }

    public User getFirstPerson() {
        return firstPerson;
    }

    public void setFirstPerson(User firstPerson) {
        this.firstPerson = firstPerson;
    }

    public User getSecondPerson() {
        return secondPerson;
    }

    public void setSecondPerson(User secondPerson) {
        this.secondPerson = secondPerson;
    }

    public Date getSubTime() {
        return subTime;
    }

    public void setSubTime(Date subTime) {
        this.subTime = subTime;
    }

    public Date getFirstTime() {
        return firstTime;
    }

    public void setFirstTime(Date firstTime) {
        this.firstTime = firstTime;
    }

    public Date getSecondTime() {
        return secondTime;
    }

    public void setSecondTime(Date secondTime) {
        this.secondTime = secondTime;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}